// 
// Decompiled by Procyon v0.5.36
// 

package com.orange.boot.dev1.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@ApiModel("Effect对象")
@EqualsAndHashCode
public class Effect implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("主键")
    @TableId(
            value = "id",
            type = IdType.ASSIGN_ID
    )
    private String id;
    @ApiModelProperty("果名/药名")
    private String name;
    @ApiModelProperty("效果详情")
    private String effectDetails;
    @ApiModelProperty("图片地址")
    private String img;
    @ApiModelProperty("逻辑删除")
    @TableLogic
    private Boolean isDeleted;
    @ApiModelProperty("创建时间")
    @TableField(
            fill = FieldFill.INSERT
    )
    private LocalDateTime gmtCreate;
    @ApiModelProperty("修改时间")
    @TableField(
            fill = FieldFill.INSERT_UPDATE
    )
    private Date gmtModified;

    public Effect() {
    }

    public String getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getEffectDetails() {
        return this.effectDetails;
    }

    public String getImg() {
        return this.img;
    }

    public Boolean getIsDeleted() {
        return this.isDeleted;
    }

    public LocalDateTime getGmtCreate() {
        return this.gmtCreate;
    }

    public Date getGmtModified() {
        return this.gmtModified;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setEffectDetails(String effectDetails) {
        this.effectDetails = effectDetails;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String toString() {
        return "Effect(id=" + this.getId() + ", name=" + this.getName() + ", effectDetails=" + this.getEffectDetails() + ", img=" + this.getImg() + ", isDeleted=" + this.getIsDeleted() + ", gmtCreate=" + this.getGmtCreate() + ", gmtModified=" + this.getGmtModified() + ")";
    }
}
